package com.edu.mapper;
/*
 * @Author:princess
 * @Date 2023/9/19 09 19 20:39
 *
 */

import com.edu.bean.Brand;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BrandMapper {
    Brand selectBrandById(int id);

    Brand selectBrand(@Param("bname") String brandName,@Param("cname") String companyName );

    List<Brand> selectAllBrand();

    int insertBrand(Brand brand);

    int deleteById(int id);

    int updateBrand(Brand brand);

    int deleteByIdInt(List<Integer> list);

    List<Brand> selectBrands(@Param("map") Map<String,String> collection);
}
